package combofs.custom;

import keter.combofs.id.IdMaker;
import org.apache.commons.lang3.RandomUtils;
import org.springframework.stereotype.Component;

/**
 * Created by gulx@neusoft.com on 2019/11/13.
 */
@Component
public class MyId implements IdMaker {
    @Override
    public Long makeId() {
        // 随机ID：仅用于示例，不可用于生产系统！
        return RandomUtils.nextLong();
    }
}
